#ifndef USER_CONTROLLER_H
#define USER_CONTROLLER_H

class UserController
{
  public:  
	enum Button {
		UP, DOWN, LEFT, RIGHT,
		SELECT, EXIT,
		BUTTON_LIST_SIZE
	};
	
	UserController();
	~UserController();
	  
	void scanButtons();
	bool isButtonPressed(Button);
	bool isButtonHeld(Button);
	bool isButtonUp(Button); 
	
  private:
	unsigned int buttonsPressed_;
	unsigned int buttonsHeld_;
	unsigned int buttonsUp_;

	bool initializeLibrary();
	bool exitLibrary();

};

#endif // USER_CONTROLLER_H